/**
 * @format
 */

import { AppRegistry } from 'react-native';
import App from './App';
import { name as appName } from './app.json';

// 引用paper , 并将整个应用包裹在PaperProvider中, 以提供主题功能
import {PaperProvider} from 'react-native-paper';



export default function Main() {
    return (
      <PaperProvider>
        <App />
      </PaperProvider>
    );
}

AppRegistry.registerComponent(appName, () => Main);
